package com.logistics.dto;

import lombok.Data;
import java.math.BigDecimal;

/**
 * 更新订单请求 DTO（收货开票）
 */
@Data
public class OrderUpdateRequest {
    
    // 货物编码
    private String goodsCode;
    
    // 站点信息
    private Long departureSiteId;
    private String departureSiteName;
    private Long arrivalSiteId;
    private String arrivalSiteName;
    
    // 发货信息
    private String senderName;
    private String senderPhone;
    
    // 收货信息
    private String receiverName;
    private String receiverPhone;
    private String deliveryType;  // 配送方式：DELIVERY-送货上门, PICKUP-到站自提
    private String deliveryOptions;  // 配送附加选项：SIGN_RECEIPT-签回单, PRINT_RECEIPT-打收条（逗号分隔）
    private String receiverAddress;  // 收货地址（送货方式时填写）
    
    // 货物信息
    private String goodsName;
    private String goodsPackage;
    private Integer goodsPieces;
    
    // 运费信息
    private BigDecimal freightAmount;  // 实收运费
    private BigDecimal settlementAmount;  // 结算运费
    private BigDecimal collectionAmount;
    private String paymentMethod;
    
    // 司机（车辆分配留到后续运单装车功能）
    private Long driverId;
    
    private String remark;
}

